package org.gnyxy.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.gnyxy.vo.DishContentMaterialVO;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;
import org.apache.ibatis.type.TypeHandler;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class OrderDetail implements Serializable {
    private Long id;
    private Long orderId;
    private String name;
    private String image;
    private Long dishId;
//    @TypeHandler(DishContentMaterialTypeHandler.class)
    private String dishContent;
    private Long materialId;
    private BigDecimal number;
    private BigDecimal amount;
    private Integer deleted;
}
